import api from './index'

export const getAppointmentList = () => {
  return api.get('/appointments/')
}

export const createAppointment = (data) => {
  return api.post('/appointments/', data)
}

export const getPaymentQRCode = (data) => {
  return api.post('/appointments/payment/', data)
}

export const checkPaymentStatus = (data) => {
  return api.post('/appointments/check_payment/', data)
} 